package org.xg.study.pd;

import org.xg.study.pd.ceiling.LevelOneCeiling;
import org.xg.study.pd.ceiling.LevelTwoCeiling;
import org.xg.study.pd.coat.DuluxCoat;
import org.xg.study.pd.coat.LiBangCoat;
import org.xg.study.pd.floor.ShengXiangFloor;
import org.xg.study.pd.tile.DongPengTile;
import org.xg.study.pd.tile.MarcoPoolTile;

import java.math.BigDecimal;

/**
 * @author CMG
 * @version 1.0
 * @cLassName Builder
 * @description
 * @date 2021/9/10 13:49
 **/
public class Builder {
    public IMenu levelOne(BigDecimal area){
        return new DecorationPackageMenu(area, "豪华欧式")
                .appendCeiling(new LevelTwoCeiling())//吊顶：二级顶
                .appendCoat(new DuluxCoat())//涂料： 多乐士
                .appendFloor(new ShengXiangFloor());//地板：圣象
    }

    public IMenu levelTwo(BigDecimal area){
        return new DecorationPackageMenu(area, "轻奢田园")
                .appendCeiling(new LevelTwoCeiling())//吊顶：二级顶
                .appendCoat(new LiBangCoat())//涂料：立邦
                .appendTile(new MarcoPoolTile());//地砖：马可波罗
    }

    public IMenu levelThree(BigDecimal area){
        return new DecorationPackageMenu(area, "现代简约")
                .appendCeiling(new LevelOneCeiling())//吊顶：一级顶
                .appendCoat(new LiBangCoat())//涂料：立邦
                .appendTile(new DongPengTile());//地砖：东鹏
    }
}
